package com.lanchetech.dao;
import org.apache.ibatis.annotations.Param;
import java.util.List;

import com.lanchetech.entity.Catalog;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface CatalogMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Catalog record);

    int insertSelective(Catalog record);

    Catalog selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Catalog record);

    int updateByPrimaryKey(Catalog record);

    List<Catalog> findAll();

    List<Catalog> getByPid(Long pid);

    List<Catalog> findFather();
}